package com.co.recommend.dao;

import com.co.video.pojo.Detail;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author ldl.plus
 * @date 2020年06月22日  0:41
 */
@Repository
public interface DetailMapper extends Mapper<Detail> {

    @Select("select * from tv_vdetail order by upload_time desc LIMIT #{row}")
    public List<Detail> findNewVideo(Integer row);

}
